<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>ViewAllPassangers</title>
</head>
<body>

<table style="COLOR: #004040; FONT-WEIGHT: bold; FONT-SIZE: x-small; FONT-FAMILY: 'Verdana'; 
vertical-align: top; border-bottom-style:solid; ; border-bottom-color: gray; 
					border-right-style:solid; ; border-right-color: gray; 
					border-left-style:solid; ; border-left-color: gray; border-top-style:solid; ; border-top-color: gray" align="center">
	<thead style="BACKGROUND-COLOR: #fbfe70; font-size: " >
		<tr>
			<td>Confirmation Number</td>
			<td>First Name</td>
			<td>Last Name</td>
			<td>Age</td>
		</tr>
		</thead>
		<c:if test="${not empty lstReservation}">
		<c:set var="i" value="1"/>
		<c:forEach items="${lstReservation}" var="item">
		
				<tr style="${style}">
					<c:set value="" var="style"></c:set>
					<td><c:out value="${item.confirmationNumber}"></c:out></td>
					<td><c:out value="${item.firstName}"></c:out></td>
					<td><c:out value="${item.lastName}"></c:out></td>
					<td><c:out value="${item.age}"></c:out></td>
				</tr>
				<c:set var="i" value="${i+1}"/>
	
		</c:forEach>
		</c:if>

</table>
</body>
</html>